package com.chenglai.seckill.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author rxh
 */
@ApiModel(value = "t_cl_groupOn_detail")
@Table(name = "t_cl_groupOn_detail")
public class GroupOnDetail implements Serializable {


    @Id
    @Column(name = "detail_id", updatable = false)
    @ApiModelProperty(value = "null")
    private Integer detailId;

    /**
     * 主表ID
     */
    @Column(name = "group_id")
    @ApiModelProperty(value = "主表ID")
    private Integer groupId;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    /**
     * 订单编号
     */
    @Column(name = "order_num")
    @ApiModelProperty(value = "订单编号")
    private String orderNum;

    public Integer getDetailId() {
        return detailId;
    }

    public void setDetailId(Integer detailId) {
        this.detailId = detailId;
    }


    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }


    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

}
